package cn.shcool.entity;

import java.io.Serializable;

public class Grade implements Serializable {
	private long id;
	private String gname;
	// 不让他是null,没有，size==0
	private java.util.List<Student> stus = new java.util.ArrayList<>();

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	public java.util.List<Student> getStus() {
		return stus;
	}

	public void setStus(java.util.List<Student> stus) {
		this.stus = stus;
	}

	@Override
	public String toString() {
		return "Grade [id=" + id + ", gname=" + gname + "]";
	}

}
